package com.lyh.system.domain.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@ApiModel(value = "商品发布")
@Data
public class GoodsPubilshReq implements Serializable {

    @ApiModelProperty(example = "商品id")
    private Long id;

    @ApiModelProperty(example = "主图1")
    @NotNull(message = "主图1不能为空")
    private String picture;

    @ApiModelProperty(example = "主图2 主图3 主图4")
    private List<String> mainUrlList;


    /** 名称 */
    @ApiModelProperty(example = "商品名称")
    @NotNull(message = "商品名称不能为空")

    private String name;

    /** 图片 */
    @ApiModelProperty(example = "类型")
    @NotNull(message = "类型不能为空")
    private Integer goodsClass;

    @ApiModelProperty(example = "小类类型")
    private Integer goodsClassType;
    /** 价格 */
    @ApiModelProperty(example = "价格")
    @NotNull(message = "价格不能为空")
    private BigDecimal price;

    @ApiModelProperty(example = "资产通证")
    private BigDecimal assetEvidenceNum;

    @ApiModelProperty(example = "商品库存")
    private Long goodsInventory;

    @ApiModelProperty(example = "商品描述")
    private List<String> describeInfoList;



}
